package com.jetbrains.kmpapp.feature.payment

import kotlinx.coroutines.flow.Flow

actual object InAppPurchaseService {
    actual val purchaseResultFlow: Flow<PurchaseResult>
        get() = unsupported()

    actual fun purchase(productId: String, uuid: String) {
        unsupported()
    }

    actual fun restorePurchases() {
        unsupported()
    }

    actual fun dispose() {
        unsupported()
    }

    private fun unsupported(): Nothing {
        error("InAppPurchase not supported on Android")
    }
}